package com.japancompany.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
public class Category extends BaseEntity {
    private static final long serialVersionUID = 1L;
    
    private String categoryName;
    
    private String categoryCode;
    
    private String description;
    
    private Integer parentId;
    
    private Integer sort;
    
    private Integer status;
    
    private String coverImage;
    
    private List<Category> children;
}